package com.xjy.rpc.netty;

import io.netty.channel.DefaultEventLoop;
import io.netty.channel.EventLoopGroup;

import java.util.concurrent.Executor;
import java.util.concurrent.ThreadFactory;

/**
 * @description: TODO netty DefaultEventLoop 包装类 可后续扩展自定义
 * @author XJY
 * @date 2024/10/21 14:05
 * @version 1.0
 */

public class RpcEventLoop extends DefaultEventLoop {

    public RpcEventLoop() {
        super();
    }

    public RpcEventLoop(ThreadFactory threadFactory) {
        super(threadFactory);
    }

    public RpcEventLoop(Executor executor) {
        super(executor);
    }

    public RpcEventLoop(EventLoopGroup parent) {
        super(parent);
    }

    public RpcEventLoop(EventLoopGroup parent, ThreadFactory threadFactory) {
        super(parent, threadFactory);
    }

    public RpcEventLoop(EventLoopGroup parent, Executor executor) {
        super(parent, executor);
    }

    @Override
    protected void run() {
        super.run();
    }
}
